main {
  width: 100vw;
  padding: 1rem;
  position: relative;
  right: 0;
  top: 0;
}

h1 {
  font-size: 350%;
  padding-left: 1rem;
  padding-bottom: 2rem;
}

section {
  width: 100vw;  
  padding: 1rem 0 1rem 1rem;
  scroll-margin-left: 200px;

  h2 {
    font-size: 200%;
    text-transform: uppercase;
  }
}

.cards {
  display: flex;
  overflow-x: scroll;
  scrollbar-width: none;
  gap: 10px;
  padding-bottom: 2rem;
  width: 98%;
}

.card {
  width: 220px;
  background-color: var(--blue);
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1rem;
  flex: 0 0 auto;

  h3 {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 5px;
    text-transform: capitalize;
    background-color: var(--purple);
    color: aliceblue;
  }

  img {
    border-radius: 10px;
  }

  p {
    padding: 0.5rem;
    background-color: black;
    color: aliceblue;
    width: fit-content;
    margin-top: 0.5rem;
    border-radius: 5px;
  }
}

/* ? media queries to edit css responsiveness */

/* mobile */
/* @media (min-width: 320px) {
 
} */

/* landscape mobile */
/* @media (min-width: 568px) {

} */

/* tablet */
@media (min-width: 768px) {
  main {
    padding-left: 20vw;
    
  }

  .cards {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
  }

}

/* desktop */
/* @media (min-width: 1024px) {
 
} */